package com.suliao.home.serviceImpl.industry;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.suliao.home.entity.industry.ExhibitorDO;
import com.suliao.home.mapper.industry.ExhibitorMapper;
import com.suliao.home.service.industry.ExhibitorService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * @author： M1nG-CodeGenerator
 * @since： 2020-12-14 16:10:11
 * @description： 展商表 服务实现类
 * @version： 1.0
 */
@Service
public class ExhibitorServiceImpl extends ServiceImpl<ExhibitorMapper, ExhibitorDO> implements ExhibitorService {

    @Autowired
    private ExhibitorMapper exhibitorMapper;


    @Override
    public List<ExhibitorDO> listIndustryExhibitor() {
        return exhibitorMapper.listIndustryExhibitor();
    }

    @Override
    public List<ExhibitorDO> machineryIndustryExhibitor() {
        return exhibitorMapper.machineryIndustryExhibitor();
    }

    @Override
    public List<ExhibitorDO> productsIndustryExhibitor() {
        return exhibitorMapper.productsIndustryExhibitor();
    }

    @Override
    public List<ExhibitorDO> dieIndustryExhibitor() {
        return exhibitorMapper.dieIndustryExhibitor();
    }

    @Override
    public List<ExhibitorDO> regrowthIndustryExhibitor() {
        return exhibitorMapper.regrowthIndustryExhibitor();
    }

    /**
     * 查询展商关注
     */
    @Override
    public List<ExhibitorDO> findExhibitorAttention(Integer userId) {
        return exhibitorMapper.findExhibitorAttention(userId);
    }

}
